package com.gopay.common.domain.riskcontrol;

import java.io.Serializable;
import javax.persistence.*;

import com.gopay.common.domain.BaseEntity;

import java.sql.Timestamp;
import java.util.Date;
import java.math.BigDecimal;


/**
 * 
 * @RcComRuleAuditThrdRel.java
 * @author dongdh
 * @2016年1月18日 下午12:01:28  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name="RC_COM_RULE_AUDIT_THRD_REL")
public class RcComRuleAuditThrdRel  extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="RC_COM_RULE_AUDIT_THRD_REL_ID_GENERATOR",allocationSize=1,initialValue=1, sequenceName="RC_COM_RULE_AUDIT_THRD_REL_SEQ")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="RC_COM_RULE_AUDIT_THRD_REL_ID_GENERATOR")
	private long id;

	@Column(name="CREATED_TS")
	private Date createdTs;

	@Column(name="RULE_ID")
	private Long ruleId;

	@Column(name="THRESHOLD_ID")
	private Long thresholdId;

	public RcComRuleAuditThrdRel() {
	}

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

    public Date getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    public Long getRuleId() {
        return ruleId;
    }

    public void setRuleId(Long ruleId) {
        this.ruleId = ruleId;
    }

    public Long getThresholdId() {
        return thresholdId;
    }

    public void setThresholdId(Long thresholdId) {
        this.thresholdId = thresholdId;
    }

}